package com.noahplat.fourg.mapper;

import com.noahplat.datapro.pojo.Step;
import org.apache.ibatis.annotations.Insert;
import tk.mybatis.mapper.common.Mapper;

/**
 * 功能：步数mapper
 * name：宋彦磊
 * time：2021.02.25
 */

public interface StepMapper extends Mapper<Step> {
    @Insert("INSERT INTO step_${imei} USING step TAGS(#{prod},#{model}) VALUES (#{ts},#{imei},#{step})")
    int insert(Step step);
}
